package com.example.bughuangkai.service;

import com.example.bughuangkai.entity.BugHistory;
import com.example.bughuangkai.vo.ReturnT;

import java.util.Map;

/**
 * @description bughistory
 * @author 黄凯
 * @date 2022-02-12
 */
public interface BugHistoryService {

    /**
    * 新增
    */
    public ReturnT insert(BugHistory bughistory);

    /**
    * 删除
    */
    public ReturnT delete(int id);

    /**
    * 更新
    */
    public ReturnT update(BugHistory bughistory);

    /**
    * 根据主键 id 查询
    */
    public BugHistory load(int id);

    /**
    * 分页查询
    */
    public Map<String,Object> pageList(int offset, int pagesize);

}